Min. 1st Qu. Median Mean 3rd Qu. Max.
10.40 15.43 19.20 20.09 22.80 33.90
2024-08-21
Literate programming
quarto provides some extra functionality---
title: "Data Science for Industry assignment 1"
author: "Your name here"
format: html
editor: visual
execute:
echo: true
------) on either endItalics with *asterisks* or _underscores_.
Bold, with **asterisks** or __underscores__.
Combined emphasis with **asterisks and _underscores_**.
Strikethrough uses two tildes. ~~Scratch this.~~* Unordered list can use asterisks, minuses or pluses
- But indentation matters
+ But indentation matters
+ Indentation mattersR Code:
Produces:
Min. 1st Qu. Median Mean 3rd Qu. Max.
10.40 15.43 19.20 20.09 22.80 33.90
Chunk options as YAML with #|
Produces:
Min. 1st Qu. Median Mean 3rd Qu. Max.
10.40 15.43 19.20 20.09 22.80 33.90
R Code:
Syntax:
{r, options} is knitr syntax saying how R should read and display codeA caption
::: {.r-stack}
{.fragment width="600"}
{.fragment width="550"}
{.fragment width="500"}
:::| Right | Left | Default | Center |
|------:|:-----|---------|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 || Right | Left | Default | Center |
|---|---|---|---|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
flowchart LR
A[Hard edge] --> B(Round edge)
B --> C{Decision}
C --> D[Result one]
C --> E[Result two]
This generates an equation like \(E = mc^{2}\) that appears inline
Put more important equations like \[E = mc^{2}\] onto their own line
:::{.callout-tip}
There are five types of callouts, including:
`note`, `tip`, `warning`, `caution`, and `important`.
:::Tip
There are five types of callouts, including: note, tip, warning, caution, and important.
Quarto supports a variety of formats for creating presentations, including:
These use the same markdown syntax as other documents, just adapt YAML and use #, ## to delineate slides.
_quarto.ymlquarto preview and quarto renderSTA5073Z Data Science for Industry